package com.wu.pojo.po.paperPo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("分值PO")
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings("all")
public class Counter implements Serializable{

    private static final long serialVersionUID = 1L;
    @NotNull(message = "指数ID不能为空")
    private String id;// 指数ID
    @NotNull(message = "用户ID不能为空")
    private String userId;// 用户ID
    @NotNull(message = "问卷ID不能为空")
    private String paperId;// 问卷ID
    @NotNull(message = "指标分值不能为空")
    private int indicators;// 分值

    private Date createTime;// 创建时间
    private String remark;// 备用字段
}
